//
//  UIColor+Extension.swift
//  JKWeibo
//
//  Created by albert on 16/5/15.
//  Copyright © 2016年 albert. All rights reserved.
//

import UIKit

extension UIColor {
    
    /** 随机颜色 */
    class func randomColor() -> UIColor {

        let randomColor = UIColor(red: CGFloat(arc4random_uniform(256))/255.0, green: CGFloat(arc4random_uniform(256))/255.0, blue: CGFloat(arc4random_uniform(256))/255.0, alpha: 1)
        
        return randomColor
    }
}